//
//  ICMSelecteItemDataView.h
//  ICrEAM
//
//  Created by rainimute on 16/11/19.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ICMSelecteItemDataViewDelegate <NSObject>

@optional
- (void)didSelectedItemTitle:(NSString *)itemTitle;

@end

@interface ICMSelecteItemDataView : UIView

@property (nonatomic, weak) id<ICMSelecteItemDataViewDelegate>delegate;

//sourceView:选中框    itemDatas：需要选择的数据
+ (instancetype)createSelecteItemDataViewWithSourceView:(UIView *)sourceView andItemDatas:(NSArray *)itemDatas frame:(CGRect)frame;

@end


@interface ICMSelecteItemCell : UITableViewCell

@property (nonatomic, copy) NSString *itemTitle;

@property (nonatomic, assign) float itemWidth;

@property (nonatomic, strong) UILabel *itemTitleLabel;

@end
